﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Castle.ActiveRecord;
using NHibernate.Criterion;
using LIB;
using System.Collections;

public partial class quan_huyen : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                repQuanHuyen.DataSource = Category_Info.FindAll(Order.Asc("catOrder"), Expression.Eq("catParentID",Category_Info.Find(42)));
                repQuanHuyen.DataBind();
            }
        }
        catch (Exception ex) { }
    }
}